package org.jeecg.modules.demo.yhs.Service;

import org.jeecg.modules.demo.yhs.mapper.ConsumerMapper;
import org.jeecg.modules.demo.yhs.POJO.ConHistory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ConsumerServiceImpl implements ConsumerService {
    @Autowired
    private ConsumerMapper consumerMapper;

    public List<ConHistory> findLastTwo() {
        return consumerMapper.findTwo();
    }
}
